<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">
    <title>收货地址</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

    <link href="css/ShippingAddress_Csss.css" rel="stylesheet" type="text/css"/>

    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/public.js"></script>
    <script type="text/javascript" src="js/user/my_shop_address.js"></script>
    <script>
        function back() {
            window.history.back(-1);
        }
    </script>
</head>

<body style="background-color: #f4f4f4;">
<form id="address_frm" method="post">
    <jsp:include page="/public.jsp"/>
    <input type="hidden" id="addressid" name="addressid"/>
    <input type="hidden" id="addressname" name="addressname"/>
    <input type="hidden" id="addressphone" name="addressphone"/>
    <input type="hidden" id="address" name="address"/>
    <input type="hidden" id="upurl" value="<%=request.getParameter("upurl")%>"/>
    <input type="hidden" id="shoptype" value="<%=request.getParameter("shoptype")%>"/>
    <input type="hidden" value="<%=session.getAttribute("shopinfo")%>" id="shopinfo" name="shopinfo"/>
    <input type="hidden" id="page"/>
</form>
<!-- 固定的title 样式 -->
<%--<header class="header">--%>
    <%--<div align="left" class="a">--%>
        <%--<img src="img/arrow_eft_circle.png" style="padding: 10px;height: 28px; width: 28px;" onclick="back()"/>--%>
    <%--</div>--%>

    <%--<div align="center" class="a">--%>
        <%--<span style="padding: 15px;font-size: 23px;color: white;">收货地址</span>--%>
    <%--</div>--%>

    <%--<div align="right" class="a">--%>
        <%--<img src="img/more.png" style="padding: 10px;height: 28px;width: 28px;"/>--%>
    <%--</div>--%>
<%--</header>--%>

<!-- 搜索框 -->

<div class="search">
    <input class="inputdesc" placeholder="搜索地址" id="search_value" onkeyup="searchinfo();"/>
</div>

<!-- 搜获地址 -->
<div class="shippingaddresss"
     onclick="location.href='/except/files/user/add_new_address.jsp?upurl=<%=request.getParameter("upurl")%>'">
    <div style="float: left;">
        <img src="img/addition_icon.png" class="add_img"/>
        <span>添加收货地址</span>
    </div>
    <div style="float: right;">
        <img src="img/right.png" class="right_img"/>
    </div>
</div>

<div class="clearboth"></div>

<span id="address_list"></span>

<!-- 底部按钮 -->
<%
    String shoptype = request.getParameter("shoptype");
    if ("1".equals(shoptype)) {
%>
<div class="footer">
        <%
    } else{
%>
    <div class="footer" style="display: none;">
        <%
            }
        %>
        <hr style="height: 1px;  background-color: #f4f4f4; border: none;"/>

        <div class="div_left">
            <div class="left">
                <input type="radio" class="radios" onclick="choseAll(this, true);"/>
                <span class="left_span">全选</span>
            </div>
        </div>
        <div class="next" onclick="forword_chose_shop();">
            <span class="next_span">下一步</span>
        </div>
    </div>
    <jsp:include page="/files/public_hint.jsp"/>
    <jsp:include page="/files/public_cofirm.jsp"/>
</body>
</html>